<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/css.css" />
	<script src="js/jquery-1.10.1.min.js"></script>
	<script src="js/side.js" type="text/javascript"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
 </head>
  <body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="#">首页</a>&nbsp;-&nbsp;<a
					href="#">教室管理</a>&nbsp;-</span>&nbsp;教室信息录入
			</div>
		</div>
		<div class="page ">
			<!-- 会员注册页面样式 -->
			
			<div class="banneradd bor">
				<div class="baTopNo">
					<span>教室编辑</span>
				</div>
				<form action="classroom/add" method="post">
				<div class="baBody">
					<div class="bbD">
						教室详细地址<input name="cbuildname" type="text" class="input3" value="${csb.cbuildname }">
					</div>
					<div class="bbD">
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;教室名称<input name="cnumber" type="text" value="${csb.cnumber }" class="input3">
					</div>
					<div class="bbD">
						教室类型<select class="input3" name="ctype">
		<option value="普通教室" ${"普通教室" eq csb.ctype ? 'selected="selected"':''}>普通教室</option>
		<option value="机房" ${"机房" eq csb.ctype ? 'selected="selected"':''}>机房</option>
		<option value="多媒体" ${"多媒体" eq csb.ctype ? 'selected="selected"':''}>多媒体</option>
		<option value="实验室" ${"实验室" eq csb.ctype ? 'selected="selected"':''}>实验室</option>
					</div>
						<input type="hidden" name="cid" value="${csb.cid }"/>
					<div class="bbD">
						<p class="bbDP">
							<button class="btn_ok btn_yes" type="submit">提交</button>
							<button class="btn_ok btn_no" id="backid">取消</button>
						</p>
					</div>
				</div>
					</form>
				</div>
			</div>

			<!-- 会员注册页面样式end -->
		</div>
</body>
  <script>
	 $(function () {       
		$('#backid').click(function(){
				window.location.href="classroom/queryByPage";
		 });

    });
</script>
</html>

